
def setUp(self):
    click("Vq.png")
    wait(0.5)
    doubleClick("Y.png")
    wait("EIXPlanningI.png")


def tearDown(self):
    if exists(Pattern("lMessageCert.png").targetOffset(5,30)):
        click(Pattern("lMessageCert.png").targetOffset(5,30))
        wait(0.5)
    
    click("1383920347731.png")
    wait(2)
    type("\n")

def testA(self):
    click(Pattern("Nom.png").similar(0.83).targetOffset(169,1))
    type("Ackerman")
    wait(0.5)
    click(Pattern("Prenom-1.png").targetOffset(139,0))
    type("Mikasa")
    wait(0.5)
    click(Pattern("DatedeNaissa-2.png").targetOffset(109,0))    
    wait(0.5)
    type("")
    wait(0.5)    
    click("1383923566644.png")
    click("AjoutClient.png")
    assert exist("aeEIAjlQIOrO.png")
    wait(0.5)
    wait(0.5)

    

def testB(self):
    click(Pattern("Nom.png").similar(0.83).targetOffset(169,1))
    type("Ackerman")
    wait(0.5)
    click(Pattern("Prenom-1.png").targetOffset(139,0))
    type("Mikasa")
    wait(0.5)
    click(Pattern("DatedeNaissa-2.png").targetOffset(109,0))
   
    type("10"+Key.DIVIDE+"04"+Key.DIVIDE+"1994")
    wait(0.5)
   
    click("1383923566644.png")
    wait(0.5)
    
    assert not exists("lMessageCert.png")
    wait(0.5)

